package com.gpframework.common.pay.leshua.res;

/**
 * @author eden
 * @date 2018/5/21 下午3:36
 * @desc
 */
public class LeshuaTransQueryRes extends LeshuaBaseRes {
	
	/**
	 * 订单状态
	 */
	public String status;

	/**
	 * 订单金额
	 */
	public String amount;

	/**
	 * 交易类型
	 */
	public String pay_way;

	/**
	 * 商户编号
	 */
	public String merchant_id;

	/**
	 * 商户订单号
	 */
	public String third_order_id;

	/**
	 * 乐刷订单号
	 */
	public String leshua_order_id;

	/**
	 * 支付时间
	 */
	public String pay_time;
	
	/**
	 * 银行类型
	 */
	public String bank_type;
	
	/**
	 * 用户openid
	 */
	public String openid;

	/**
	 * 微信、支付宝等订单号
	 */
	public String out_transaction_id;
	
	/**
	 * 用户子标识
	 */
	private String sub_openid;
	
	/**
	 * 附加数据
	 */
	private String attach;
	
	/**
	 * 交易类型
	 */
	private String trade_type;

	/**
	 * 订单优惠标记
	 */
	private String goods_tag;
	
	/**
	 * 渠道订单号
	 */
	private String channel_order_id;

	/**
	 * 渠道订单时间
	 */
	private String channel_datetime;

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getPay_way() {
		return pay_way;
	}

	public void setPay_way(String pay_way) {
		this.pay_way = pay_way;
	}

	public String getMerchant_id() {
		return merchant_id;
	}

	public void setMerchant_id(String merchant_id) {
		this.merchant_id = merchant_id;
	}

	public String getThird_order_id() {
		return third_order_id;
	}

	public void setThird_order_id(String third_order_id) {
		this.third_order_id = third_order_id;
	}

	public String getLeshua_order_id() {
		return leshua_order_id;
	}

	public void setLeshua_order_id(String leshua_order_id) {
		this.leshua_order_id = leshua_order_id;
	}

	public String getPay_time() {
		return pay_time;
	}

	public String getBank_type() {
		return bank_type;
	}

	public void setBank_type(String bank_type) {
		this.bank_type = bank_type;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOut_transaction_id() {
		return out_transaction_id;
	}

	public void setOut_transaction_id(String out_transaction_id) {
		this.out_transaction_id = out_transaction_id;
	}

	public void setPay_time(String pay_time) {
		this.pay_time = pay_time;
	}
	
	public String getSub_openid() {
		return sub_openid;
	}

	public void setSub_openid(String sub_openid) {
		this.sub_openid = sub_openid;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public String getTrade_type() {
		return trade_type;
	}

	public void setTrade_type(String trade_type) {
		this.trade_type = trade_type;
	}

	public String getGoods_tag() {
		return goods_tag;
	}

	public void setGoods_tag(String goods_tag) {
		this.goods_tag = goods_tag;
	}

	public String getChannel_order_id() {
		return channel_order_id;
	}

	public void setChannel_order_id(String channel_order_id) {
		this.channel_order_id = channel_order_id;
	}

	public String getChannel_datetime() {
		return channel_datetime;
	}

	public void setChannel_datetime(String channel_datetime) {
		this.channel_datetime = channel_datetime;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("LeshuaTransQueryRes [status=");
		builder.append(status);
		builder.append(", amount=");
		builder.append(amount);
		builder.append(", pay_way=");
		builder.append(pay_way);
		builder.append(", bank_type=");
		builder.append(bank_type);
		builder.append(", openid=");
		builder.append(openid);
		builder.append(", out_transaction_id=");
		builder.append(out_transaction_id);
		builder.append(", merchant_id=");
		builder.append(merchant_id);
		builder.append(", third_order_id=");
		builder.append(third_order_id);
		builder.append(", leshua_order_id=");
		builder.append(leshua_order_id);
		builder.append(", pay_time=");
		builder.append(pay_time);
		builder.append(", attach=");
		builder.append(attach);
		builder.append(", sub_openid=");
		builder.append(sub_openid);
		builder.append(", trade_type=");
		builder.append(trade_type);
		builder.append(", goods_tag=");
		builder.append(goods_tag);
		builder.append(", channel_datetime=");
		builder.append(channel_datetime);
		builder.append(", channel_order_id=");
		builder.append(channel_order_id);
		builder.append(", resp_code=");
		builder.append(resp_code);
		builder.append(", resp_msg=");
		builder.append(resp_msg);
		builder.append(", result_code=");
		builder.append(result_code);
		builder.append(", error_code=");
		builder.append(error_code);
		builder.append(", error_msg=");
		builder.append(error_msg);
		builder.append(", nonce_str=");
		builder.append(nonce_str);
		builder.append(", sign=");
		builder.append(sign);
		builder.append("]");
		return builder.toString();
	}
}
